package com.itheima.dao;

import com.itheima.pojo.CheckItem;
import com.itheima.pojo.OrderSetting;
import com.itheima.pojo.Setmeal;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface OrderSettingMapper {

    Integer queryByDate(@Param("orderDate") Date orderDate);

    void update(@Param("number") int number,@Param("orderDate") Date orderDate);

    void add(OrderSetting orderSetting);

    List<OrderSetting> findPage(@Param("start") String start, @Param("end") String end);

    OrderSetting queryOrderSettingByDate(@Param("orderDate")Date orderDate);

    Integer edit(OrderSetting orderSetting);

    List<OrderSetting> findAll(@Param("queryString") String queryString);


    List<Setmeal> findAllSetmeal();

}
